package com.example.myandroidapp1.factory;

import com.example.myandroidapp1.gateway.HttpRestGateway;
import com.example.myandroidapp1.gateway.impl.HttpRestGatewayImpl;

public class HttpClientFactory {
	
	private static HttpRestGateway httpRestGateway;

	public static HttpRestGateway getInstance(){
		if(httpRestGateway == null){
			httpRestGateway = new HttpRestGatewayImpl();
		}
		return httpRestGateway;
	}
}
